//
//  NetworkManager.h
//  zhangjiantest2
//
//  Created by ZJL on 2024/7/5.
//

#import <Foundation/Foundation.h>
typedef void (^completion)(NSData *data, NSError *error,NSURLResponse *response);

NS_ASSUME_NONNULL_BEGIN

@interface NetworkManager : NSObject
+ (void)sendRequestWithURL:(NSURL *)url body:(NSData *)data completion:(completion)completion;
+ (NSData * )sendRequestWithURL2:(NSURL *)url body:(NSData *)data;
@end

NS_ASSUME_NONNULL_END
